﻿using System.Collections.Generic;

namespace LH.Model.PU
{
    public class YiJingRdrecord
    {
        public string QID { get; set; }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string cCode { get; set; }
        public string dDate { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>
        public string cDepCode { get; set; }
        public string cPersonCode { get; set; }
        /// <summary>
        /// 收发类别编码
        /// </summary>
        public string cRdCode { get; set; }
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string cVenCode { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string cCusCode { get; set; }
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string cWhCode { get; set; }
        public string cMaker { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string cHandler { get; set; }
        public string cMemo { get; set; }
        //public string cAccount { get; set; }
        /// <summary>
        /// 领料申请，是否超领
        /// </summary>
        public int bIsComplement { get; set; }
        //public string cAccount { get; set; }
        /// <summary>
        /// 是否弃审  Y,代表弃审
        /// </summary>
        public string bAbandon { get; set; }
        public List<RdrecordBody> itemList { get; set; }


        public class RdrecordBody
        {
            public string iRowNo { get; set; }
            public string cArrCode { get; set; }
            public string iArrRowNo { get; set; }
            public string cInvCode { get; set; }
            public string cFree1 { get; set; }
            public string iQuantity { get; set; }
            /// <summary>
            /// 生产订单号
            /// </summary>
            public string cMoCode { get; set; }

            /// <summary>
            /// 生产订单行号
            /// </summary>
            public string cMoRowNo { get; set; }
            /// <summary>
            /// 发货单号
            /// </summary>
            public string cDLCode { get; set; }
            /// <summary>
            /// 发货单行号
            /// </summary>
            public string cDLRowNo { get; set; }
            /// <summary>
            /// 借出单id
            /// </summary>
            public string iDebitIDs { get; set; }

            /// <summary>
            /// 生产订单子件id
            /// </summary>
            public string iAllocateId { get; set; }

            /// <summary>
            /// 工序组编码
            /// </summary>
            public string cOpCode { get; set; }

        }
    }

    public class YiJingMOClose
    {
        public string cAccount { get; set; }
        public string Qid { get; set; }
        public string iModid { get; set; }
        public string cMoCode { get; set; }
        public string bWW { get; set; }
        public string dCloseDate { get; set; }
        public string Is_over { get; set; }
    }
}
